package com.financing.platform.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.financing.platform.vo.OrderPhoVO;

public interface IOrderPhoDao  extends IBaseDao{
	/**
	 * 
	* @Title: updateOrderPho
	
	* @Description:修改该产品图片状态
	
	* @param @param OrderPhoVO
	* @param @return
	* @param @throws SQLException    设定文件
	
	* @return int    返回类型
	
	* @throws
	 */
	public int updateOrderPho(OrderPhoVO orderPhoVO) throws SQLException;
	
	/**
	 * 
	
	* @Title: queryOrderPho
	
	* @Description:查询该产品图片
	
	* @param @param OrderPhoVO
	* @param @return
	* @param @throws SQLException    设定文件
	
	* @return int    返回类型
	
	* @throws
	 */
	public List<Map<String,Object>> queryOrderPho(OrderPhoVO orderPhoVO) throws SQLException;
	
	/**
	 * 
	
	* @Title: queryOrderPhoConfirm
	
	* @Description:查询该产品是否全部审核
	
	* @param @param OrderPhoVO
	* @param @return
	* @param @throws SQLException    设定文件
	
	* @return int    返回类型
	
	* @throws
	 */
	public Map<String,Object> queryOrderPhoConfirm(OrderPhoVO orderPhoVO) throws SQLException;
	
	/**
	 * 
	
	* @Title: deleteOrderPho
	
	* @Description:删除产出该产品附件
	* @param @param OrderPhoVO
	* @param @return
	* @param @throws SQLException    设定文件
	
	* @return int    返回类型
	
	* @throws
	 */
	public int deleteOrderPho(OrderPhoVO orderPhoVO) throws SQLException;
	
	/**
	 * 
	
	* @Title: addFpOrderPho
	
	* @Description:新增产出该产品附件
	* @param @param OrderPhoVO
	* @param @return
	* @param @throws SQLException    设定文件
	
	* @return int    返回类型
	
	* @throws
	 */
	public int addFpOrderPho(OrderPhoVO orderPhoVO) throws SQLException;
	
	/**
	 * 
	
	* @Title: queryOrderTmpConfirm
	
	* @Description: 私募审核是否全部通过
	
	* @param @param orderPhoVO
	* @param @return
	* @param @throws SQLException    设定文件
	
	* @return Map<String,Object>    返回类型
	
	* @throws
	 */
	public Map<String, Object> queryOrderTmpConfirm(OrderPhoVO orderPhoVO)
			throws SQLException;

	public OrderPhoVO queryOrderPhoById(Integer id)throws SQLException;
}
